# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname=rkdeveloptool
pkgver=1.1.0
pkgdesc="opensource client for rockusb devices"
pkgrel=0
url="https://gitlab.com/pine64-org/quartz-bsp/rkdeveloptool"
arch="all"
license="GPL-2.0-only"
source="https://gitlab.com/pine64-org/quartz-bsp/rkdeveloptool/-/archive/$pkgver/rkdeveloptool-$pkgver.tar.gz"
makedepends="meson libusb-dev eudev-dev scdoc"
subpackages="$pkgname-doc"
options="!check" # There is no testsuite

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
ff32906924c6bd7027e864d1e417c6e94119a379db2dd6ffdf0c04af666fbb1be787e0a4fad298f87b6ab51696c74ccc51ed9d5a22a59079bbadcc00c0ea4ff1  rkdeveloptool-1.1.0.tar.gz
"
